package problems.solved;

import java.util.List;

import utils.Utils;

public class Problem3 {
	private static final long NUMBER = 600851475143L;
	
	public static void main(String[] args) {
		List<Long> list = Utils.primeFactors(NUMBER);
		System.out.printf("Largest prime factor for %d is %d, total %d: %s%n", NUMBER, list.get(list.size()-1), list.size(), list); //6857
	}
}
